<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="../common/base.jsp"%>
<%request.setCharacterEncoding("utf-8");%>

<link href="${path }/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="${path }/dist/css/Buttom.css" rel="stylesheet" />
<link href="${path }/dist/css/jquery.treeview.css" rel="stylesheet" />


<ul id="tree" class="filetree">
<c:set var="p" value="${result.seclist }"></c:set>
<c:forEach var="wal" items="${result.deptlist}">
      <li><span class="folder">${wal.deptname}</span>
      <ul>
      	<c:forEach var="sec" items="${p}">
      	<c:if test="${sec.secno/100>wal.deptno and sec.secno/100<wal.deptno+1}">
      		<li><span class="file">${sec.secname}</span></li>
      	</c:if>
      	</c:forEach>
      	</ul>
      </li>
</c:forEach>
</ul>
    
 

<script src="${path }/dist/js/jquery.min.js"></script>
<script src="${path }/dist/js/bootstrap.min.js"></script>

<script src="${path }/dist/js/jquery.treeview.js"></script>
  <script type="text/javascript">
    $("#tree").treeview();
   </script>